FROM nginx:1.19
#FROM public-registry.ctyundao.cn/library/nginx:1.19.0

EXPOSE 80
COPY nginx/nginx.conf /etc/nginx/conf.d/default.conf
ADD dist.tar /usr/share/nginx/html

CMD ["nginx", "-g", "daemon  off;"]

